package net.amsoft.iservice.management.webapp.struts.form;

import org.apache.log4j.Logger;
import org.apache.struts.action.ActionForm;

/**
* @author Mukta Keshav
* @Web http://www.amsoft.net
* @Email mukta@amsoft.net
*/

/**
 * Form bean for Saving Data to DB.
 *
*/
public class SaveToDBForm extends ActionForm
{
    private static Logger logger = Logger.getLogger(SaveToDBForm.class);
    private String dataType;
    private String action;

    public String getDataType() {
        logger.info("getDataType(): Returning dataType >> " + dataType);
        return dataType;
    }
    
    public void setDataType(String dataType) {
        logger.info("setDataType(): Setting dataType >> " + dataType);
        this.dataType = dataType;
    }

    public String getAction() {
        logger.info("getAction(): Returning action >> " + action);
        return action;
    }

    public void setAction(String action) {
        logger.info("setAction(): Setting action >> " + action);
        this.action = action;
    }

}